package com.hrbxlh.virtualization.param;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author cheer
 */
public class ClipboardParam {

    /**
     * 容器Id
     */
    @NotNull(message = "虚拟机Id不能为空")
    private Long containerId;

    /**
     * 剪贴板内容
     */
    @NotBlank(message = "剪切板内容不能为空")
    @Size(max = 20000, message = "字符数过长")
    private String content;

    public Long getContainerId() {
        return containerId;
    }

    public void setContainerId(Long containerId) {
        this.containerId = containerId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
